package work.mediway.mdm.biz.dto.dict;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 固定代码表
 *
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/1/14
 */
@ApiModel(value = "固定代码表")
@Data
//@Builder
public class CodeSystemDTO {

    @ApiModelProperty(value = "代码，系统编号")
    private String codeSystemCode;

    @ApiModelProperty(value = "描述")
    private String codeSystemDesc;

    @ApiModelProperty(value = "字典分类", allowableValues = "1,2")
    private String codeSystemCat;

    @ApiModelProperty(value = "OID代码，卫生行业值域代码OID分配")
    private String codeSystem;

    @ApiModelProperty(value = "最后更新人编码")
    private String lastUpdateUserId;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "来源系统")
    private String sourceSystem;

    @ApiModelProperty(value = "总量", hidden = true)
    private Integer dataCount;

    @ApiModelProperty(value = "开始日期")
    private String startDate;

    @ApiModelProperty(value = "结束日期")
    private String endDate;

    @ApiModelProperty(value = "描述字段")
    private String descField;

    @ApiModelProperty(value = "代码字段")
    private String codeField;

}